import {baseRequest} from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/process/log/` + url, ...arg)

export default {
	async listByCondition(data) {
		return await request('list_by_condition', data, 'post')
	},
	async getDetailByTid(data) {
		return await request('get_detail_by_tid', data, 'post')
	},
	async updateStateById(data) {
		return await request('update_state_by_id', data, 'post')
	}
}

